//
//  MeetingCollectionViewItem.m
//  Rongcloud
//
//  Created by LiuLinhong on 2017/08/16.
//  Copyright © 2017年 Beijing Rongcloud Network Technology Co. , Ltd. All rights reserved.
//

#import "MeetingCollectionViewItem.h"

@interface MeetingCollectionViewItem ()

@end

@implementation MeetingCollectionViewItem

- (void)viewDidLoad
{
    [super viewDidLoad];
}

- (void)viewWillAppear
{
    [super viewWillAppear];
    
    if (!self.representedObject)
        return;
    
    NSDictionary *dic = (NSDictionary *)self.representedObject;
    [self.view addSubview:dic[@"remoteVideoView"]];
    
    self.view.wantsLayer = YES;
    self.view.layer.backgroundColor = [NSColor clearColor].CGColor;
}

@end
